from IO import PotIO
from IO import Sample
from RNN import RNN
from IO import show_a_io_data
class Test():
  def __init__(self):
    io = PotIO()
    rnn = RNN()

    io.readFiles()
    rnn.buildInternalRepresentationsFromDic(io.train_dict, io.test_dict)
    rnn.saveInternalRepresentationFiles()
    rnn.loadInternalRepresentationFiles()
    rnn.exec(iftrain=1)

  def execute(self):
    return



if __name__ == '__main__':
  Test()
  # print("_____________________________________________")
  # io = PotIO()
  # rnn = RNN()

  # io.readFiles()
  # show_a_io_data(io)
  print("__")